class AddIsMetaToSchool < ActiveRecord::Migration
  def self.up
    add_column :schools, :is_meta, :boolean, :default => false
    School.find(:all, :conditions => "info_source='dizhen.1kg.org'").each do |s|
      s.is_meta = true
    end
  end

  def self.down
    remove_column :schools, :is_meta
  end
end
